<?xml version="1.0" encoding="ascii"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
          "DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
  <title>simvoc.input.mod_ldif</title>
  <link rel="stylesheet" href="epydoc.css" type="text/css" />
  <script type="text/javascript" src="epydoc.js"></script>
</head>

<body bgcolor="white" text="black" link="blue" vlink="#204080"
      alink="#204080">
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="simvoc-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >SimVOC</th>
          </tr></table></th>
  </tr>
</table>
<table width="100%" cellpadding="0" cellspacing="0">
  <tr valign="top">
    <td width="100%">
      <span class="breadcrumbs">
        <a href="simvoc-module.html">Package&nbsp;simvoc</a> ::
        <a href="simvoc.input-module.html">Package&nbsp;input</a> ::
        Module&nbsp;mod_ldif
      </span>
    </td>
    <td>
      <table cellpadding="0" cellspacing="0">
        <!-- hide/show private -->
        <tr><td align="right"><span class="options">[<a href="javascript:void(0);" class="privatelink"
    onclick="toggle_private();">hide&nbsp;private</a>]</span></td></tr>
      </table>
    </td>
  </tr>
</table>
<!-- ==================== MODULE DESCRIPTION ==================== -->
<h1 class="epydoc">Module mod_ldif</h1><p class="nomargin-top"><span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html">source&nbsp;code</a></span></p>
<p>ldif - generate and parse LDIF data (see RFC 2849)</p>
  <p>See http://python-ldap.sourceforge.net for details.</p>
  <p>$Id: ldif.py,v 1.47 2008/03/10 08:34:29 stroeder Exp $</p>
  <p>Python compability note: Tested with Python 2.0+, but should work with
  Python 1.5.2+.</p>

<hr />
<div class="fields">      <p><strong>Version:</strong>
        0.5.5
      </p>
</div><!-- ==================== CLASSES ==================== -->
<a name="section-Classes"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Classes</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Classes"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif.LDIFWriter-class.html" class="summary-name">LDIFWriter</a><br />
      Write LDIF entry or change records to file object Copy LDIF input 
        to a file output object containing all data retrieved via URLs
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif.LDIFParser-class.html" class="summary-name">LDIFParser</a><br />
      Base class for a LDIF parser.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif.LDIFRecordList-class.html" class="summary-name">LDIFRecordList</a><br />
      Collect all records of LDIF input into a single list.
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif.LDIFCopy-class.html" class="summary-name">LDIFCopy</a><br />
      Copy LDIF input to LDIF output containing all data retrieved via 
        URLs
    </td>
  </tr>
</table>
<!-- ==================== FUNCTIONS ==================== -->
<a name="section-Functions"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Functions</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Functions"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="is_dn"></a><span class="summary-sig-name">is_dn</span>(<span class="summary-sig-arg">s</span>)</span><br />
      returns 1 if s is a LDAP DN</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#is_dn">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="needs_base64"></a><span class="summary-sig-name">needs_base64</span>(<span class="summary-sig-arg">s</span>)</span><br />
      returns 1 if s has to be base-64 encoded because of special chars</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#needs_base64">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a name="list_dict"></a><span class="summary-sig-name">list_dict</span>(<span class="summary-sig-arg">l</span>)</span><br />
      return a dictionary with all items of l being the keys of the 
      dictionary</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#list_dict">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="simvoc.input.mod_ldif-module.html#CreateLDIF" class="summary-sig-name">CreateLDIF</a>(<span class="summary-sig-arg">dn</span>,
        <span class="summary-sig-arg">record</span>,
        <span class="summary-sig-arg">base64_attrs</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">cols</span>=<span class="summary-sig-default">76</span>)</span><br />
      Create LDIF single formatted record including trailing empty line.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#CreateLDIF">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
      <table width="100%" cellpadding="0" cellspacing="0" border="0">
        <tr>
          <td><span class="summary-sig"><a href="simvoc.input.mod_ldif-module.html#ParseLDIF" class="summary-sig-name">ParseLDIF</a>(<span class="summary-sig-arg">f</span>,
        <span class="summary-sig-arg">ignore_attrs</span>=<span class="summary-sig-default">None</span>,
        <span class="summary-sig-arg">maxentries</span>=<span class="summary-sig-default">0</span>)</span><br />
      Parse LDIF records read from file.</td>
          <td align="right" valign="top">
            <span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#ParseLDIF">source&nbsp;code</a></span>
            
          </td>
        </tr>
      </table>
      
    </td>
  </tr>
</table>
<!-- ==================== VARIABLES ==================== -->
<a name="section-Variables"></a>
<table class="summary" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-Variables"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="attrtype_pattern"></a><span class="summary-name">attrtype_pattern</span> = <code title="'[\\w;\\-.]+(;[\\w_-]+)*'"><code class="variable-quote">'</code><code class="variable-string">[\\w;\\-.]+(;[\\w_-]+)*</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="attrvalue_pattern"></a><span class="summary-name">attrvalue_pattern</span> = <code title="'(([^,]|\\\\,)+|&quot;.*?&quot;)'"><code class="variable-quote">'</code><code class="variable-string">(([^,]|\\\\,)+|&quot;.*?&quot;)</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#rdn_pattern" class="summary-name" onclick="show_private();">rdn_pattern</a> = <code title="'[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;)'"><code class="variable-quote">'</code><code class="variable-string">[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#dn_pattern" class="summary-name" onclick="show_private();">dn_pattern</a> = <code title="'[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;)([ ]*,[ ]*[\\w;\\
\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;))*[ ]*'"><code class="variable-quote">'</code><code class="variable-string">[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#dn_regex" class="summary-name" onclick="show_private();">dn_regex</a> = <code title="re.compile(r'^[\w;-\.]+(;[\w_-]+)* *= *(([^,]|\\,)+|&quot;.*?&quot;)( *, *[\w;-\\
.]+(;[\w_-]+)* *= *(([^,]|\\,)+|&quot;.*?&quot;))* *$')">re.compile(r'^<code class="re-group">[</code>\w;-\.<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">(</code>;<code class="re-group">[</code>\w_-<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code><code class="re-op">*</code> <code class="re-op">*</code>= <code class="re-op">*</code><code class="re-group">(</code><code class="re-group">(</code><code class="re-group">[^</code>,<code class="re-group">]</code><code class="re-op">|</code>\\,<code class="re-group">)</code><code class="re-op">+</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr>
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#ldif_pattern" class="summary-name">ldif_pattern</a> = <code title="'^((dn(:|::) [\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;)([ ]\
*,[ ]*[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;))*[ ]*)|([\\
\w;\\-.]+(;[\\w_-]+)*(:|::) .*)$)+'"><code class="variable-quote">'</code><code class="variable-string">^((dn(:|::) [\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*((</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MOD_OP_INTEGER"></a><span class="summary-name">MOD_OP_INTEGER</span> = <code title="{'add': 0, 'delete': 1, 'replace': 2}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">add</code><code class="variable-quote">'</code><code class="variable-op">: </code>0<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">delete</code><code class="variable-quote">'</code><code class="variable-op">: </code>1<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">replace</code><code class="variable-quote">'</code><code class="variable-op">: </code>2<code class="variable-group">}</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="MOD_OP_STR"></a><span class="summary-name">MOD_OP_STR</span> = <code title="{0: 'add', 1: 'delete', 2: 'replace'}"><code class="variable-group">{</code>0<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">add</code><code class="variable-quote">'</code><code class="variable-op">, </code>1<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">delete</code><code class="variable-quote">'</code><code class="variable-op">, </code>2<code class="variable-op">: </code><code class="variable-quote">'</code><code class="variable-string">replace</code><code class="variable-quote">'</code><code class="variable-group">}</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="CHANGE_TYPES"></a><span class="summary-name">CHANGE_TYPES</span> = <code title="['add', 'delete', 'modify', 'modrdn']"><code class="variable-group">[</code><code class="variable-quote">'</code><code class="variable-string">add</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">delete</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">modify</code><code class="variable-quote">'</code><code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">modrdn</code><code class="variable-quote">'</code><code class="variable-group">]</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#valid_changetype_dict" class="summary-name" onclick="show_private();">valid_changetype_dict</a> = <code title="{'add': None, 'delete': None, 'modify': None, 'modrdn': None}"><code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">add</code><code class="variable-quote">'</code><code class="variable-op">: </code>None<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">delete</code><code class="variable-quote">'</code><code class="variable-op">: </code>None<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">modify</code><code class="variable-quote">'</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#SAFE_STRING_PATTERN" class="summary-name" onclick="show_private();">SAFE_STRING_PATTERN</a> = <code title="'''(^(\x00|
|\r| |:|&lt;)|[\x00
\r\x80-\xff]+|[ ]+$)'''"><code class="variable-quote">'</code><code class="variable-string">(^(\x00|\n|\r| |:|&lt;)|[\x00\n\r\x80-\xff</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a href="simvoc.input.mod_ldif-module.html#safe_string_re" class="summary-name" onclick="show_private();">safe_string_re</a> = <code title="re.compile(r'(^([\x00\n\r :&lt;])|[\x00\n\r\x80-\xff]+| +$)')">re.compile(r'<code class="re-group">(</code>^<code class="re-group">(</code><code class="re-group">[</code>\x00\n\r :&lt;<code class="re-group">]</code><code class="re-group">)</code><code class="re-op">|</code><code class="re-group">[</code>\x00\n\r\x80<code class="re-op">-</code><code class="variable-ellipsis">...</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="__package__"></a><span class="summary-name">__package__</span> = <code title="'simvoc.input'"><code class="variable-quote">'</code><code class="variable-string">simvoc.input</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
<tr class="private">
    <td width="15%" align="right" valign="top" class="summary">
      <span class="summary-type">&nbsp;</span>
    </td><td class="summary">
        <a name="c"></a><span class="summary-name">c</span> = <code title="'modrdn'"><code class="variable-quote">'</code><code class="variable-string">modrdn</code><code class="variable-quote">'</code></code>
    </td>
  </tr>
</table>
<p class="indent-wrapped-lines"><b>Imports:</b>
  <span title="urlparse">urlparse</span>,
  <span title="urllib">urllib</span>,
  <span title="base64">base64</span>,
  <span title="re">re</span>,
  <span title="types">types</span>,
  <span title="StringIO.StringIO">StringIO</span>
</p><br />
<!-- ==================== FUNCTION DETAILS ==================== -->
<a name="section-FunctionDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Function Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-FunctionDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="CreateLDIF"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">CreateLDIF</span>(<span class="sig-arg">dn</span>,
        <span class="sig-arg">record</span>,
        <span class="sig-arg">base64_attrs</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">cols</span>=<span class="sig-default">76</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#CreateLDIF">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Create LDIF single formatted record including trailing empty line. 
  This is a compability function. Use is deprecated!</p>
  <dl class="fields">
    <dt>Parameters:</dt>
    <dd><ul class="nomargin-top">
        <li><strong class="pname"><code>dn</code></strong> - string-representation of distinguished name</li>
        <li><strong class="pname"><code>record</code></strong> - Either a dictionary holding the LDAP entry {attrtype:record} or a
          list with a modify list like for LDAPObject.modify().</li>
        <li><strong class="pname"><code>base64_attrs</code></strong> - list of attribute types to be base64-encoded in any case</li>
        <li><strong class="pname"><code>cols</code></strong> - Specifies how many columns a line may have before it's folded 
          into many lines.</li>
    </ul></dd>
  </dl>
</td></tr></table>
</div>
<a name="ParseLDIF"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <table width="100%" cellpadding="0" cellspacing="0" border="0">
  <tr valign="top"><td>
  <h3 class="epydoc"><span class="sig"><span class="sig-name">ParseLDIF</span>(<span class="sig-arg">f</span>,
        <span class="sig-arg">ignore_attrs</span>=<span class="sig-default">None</span>,
        <span class="sig-arg">maxentries</span>=<span class="sig-default">0</span>)</span>
  </h3>
  </td><td align="right" valign="top"
    ><span class="codelink"><a href="simvoc.input.mod_ldif-pysrc.html#ParseLDIF">source&nbsp;code</a></span>&nbsp;
    </td>
  </tr></table>
  
  <p>Parse LDIF records read from file. This is a compability function. Use
  is deprecated!</p>
  <dl class="fields">
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== VARIABLES DETAILS ==================== -->
<a name="section-VariablesDetails"></a>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr bgcolor="#70b0f0" class="table-header">
  <td colspan="2" class="table-header">
    <table border="0" cellpadding="0" cellspacing="0" width="100%">
      <tr valign="top">
        <td align="left"><span class="table-header">Variables Details</span></td>
        <td align="right" valign="top"
         ><span class="options">[<a href="#section-VariablesDetails"
         class="privatelink" onclick="toggle_private();"
         >hide private</a>]</span></td>
      </tr>
    </table>
  </td>
</tr>
</table>
<a name="rdn_pattern"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">rdn_pattern</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'</code><code class="variable-string">[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;)</code><code class="variable-quote">'</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="dn_pattern"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">dn_pattern</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'</code><code class="variable-string">[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;)([ ]*,[ ]*[\\w;\</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;))*[ ]*</code><code class="variable-quote">'</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="dn_regex"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">dn_regex</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
re.compile(r'^<code class="re-group">[</code>\w;-\.<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">(</code>;<code class="re-group">[</code>\w_-<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code><code class="re-op">*</code> <code class="re-op">*</code>= <code class="re-op">*</code><code class="re-group">(</code><code class="re-group">(</code><code class="re-group">[^</code>,<code class="re-group">]</code><code class="re-op">|</code>\\,<code class="re-group">)</code><code class="re-op">+</code><code class="re-op">|</code>&quot;.<code class="re-op">*?</code>&quot;<code class="re-group">)</code><code class="re-group">(</code> <code class="re-op">*</code>, <code class="re-op">*</code><code class="re-group">[</code>\w;-\<span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
.<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">(</code>;<code class="re-group">[</code>\w_-<code class="re-group">]</code><code class="re-op">+</code><code class="re-group">)</code><code class="re-op">*</code> <code class="re-op">*</code>= <code class="re-op">*</code><code class="re-group">(</code><code class="re-group">(</code><code class="re-group">[^</code>,<code class="re-group">]</code><code class="re-op">|</code>\\,<code class="re-group">)</code><code class="re-op">+</code><code class="re-op">|</code>&quot;.<code class="re-op">*?</code>&quot;<code class="re-group">)</code><code class="re-group">)</code><code class="re-op">*</code> <code class="re-op">*</code>$')
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="ldif_pattern"></a>
<div>
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">ldif_pattern</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'</code><code class="variable-string">^((dn(:|::) [\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;)([ ]</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">*,[ ]*[\\w;\\-.]+(;[\\w_-]+)*[ ]*=[ ]*(([^,]|\\\\,)+|&quot;.*?&quot;))*[ ]*)|([\</code><span class="variable-linewrap"><img src="crarr.png" alt="\" /></span>
<code class="variable-string">\w;\\-.]+(;[\\w_-]+)*(:|::) .*)$)+</code><code class="variable-quote">'</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="valid_changetype_dict"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">valid_changetype_dict</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-group">{</code><code class="variable-quote">'</code><code class="variable-string">add</code><code class="variable-quote">'</code><code class="variable-op">: </code>None<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">delete</code><code class="variable-quote">'</code><code class="variable-op">: </code>None<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">modify</code><code class="variable-quote">'</code><code class="variable-op">: </code>None<code class="variable-op">, </code><code class="variable-quote">'</code><code class="variable-string">modrdn</code><code class="variable-quote">'</code><code class="variable-op">: </code>None<code class="variable-group">}</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="SAFE_STRING_PATTERN"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">SAFE_STRING_PATTERN</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
<code class="variable-quote">'''</code><code class="variable-string">(^(\x00|</code>
<code class="variable-string">|\r| |:|&lt;)|[\x00</code>
<code class="variable-string">\r\x80-\xff]+|[ ]+$)</code><code class="variable-quote">'''</code>
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<a name="safe_string_re"></a>
<div class="private">
<table class="details" border="1" cellpadding="3"
       cellspacing="0" width="100%" bgcolor="white">
<tr><td>
  <h3 class="epydoc">safe_string_re</h3>
  
  <dl class="fields">
  </dl>
  <dl class="fields">
    <dt>Value:</dt>
      <dd><table><tr><td><pre class="variable">
re.compile(r'<code class="re-group">(</code>^<code class="re-group">(</code><code class="re-group">[</code>\x00\n\r :&lt;<code class="re-group">]</code><code class="re-group">)</code><code class="re-op">|</code><code class="re-group">[</code>\x00\n\r\x80<code class="re-op">-</code>\xff<code class="re-group">]</code><code class="re-op">+</code><code class="re-op">|</code> <code class="re-op">+</code>$<code class="re-group">)</code>')
</pre></td></tr></table>
</dd>
  </dl>
</td></tr></table>
</div>
<br />
<!-- ==================== NAVIGATION BAR ==================== -->
<table class="navbar" border="0" width="100%" cellpadding="0"
       bgcolor="#a0c0ff" cellspacing="0">
  <tr valign="middle">
  <!-- Home link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="simvoc-module.html">Home</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Tree link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="module-tree.html">Trees</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Index link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="identifier-index.html">Indices</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Help link -->
      <th>&nbsp;&nbsp;&nbsp;<a
        href="help.html">Help</a>&nbsp;&nbsp;&nbsp;</th>

  <!-- Project homepage -->
      <th class="navbar" align="right" width="100%">
        <table border="0" cellpadding="0" cellspacing="0">
          <tr><th class="navbar" align="center"
            >SimVOC</th>
          </tr></table></th>
  </tr>
</table>
<table border="0" cellpadding="0" cellspacing="0" width="100%%">
  <tr>
    <td align="left" class="footer">
    Generated by Epydoc 3.0 on Fri Oct 23 11:04:29 2009
    </td>
    <td align="right" class="footer">
      <a target="mainFrame" href="http://epydoc.sourceforge.net"
        >http://epydoc.sourceforge.net</a>
    </td>
  </tr>
</table>

<script type="text/javascript">
  <!--
  // Private objects are initially displayed (because if
  // javascript is turned off then we want them to be
  // visible); but by default, we want to hide them.  So hide
  // them unless we have a cookie that says to show them.
  checkCookie();
  // -->
</script>
</body>
</html>
